<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-TAG/platForm.tld" prefix="PF"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<PF:basePath/>">
		<title>文件</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<jsp:include page="/PLUGIN/document/commons/include_all.jsp"></jsp:include>
	</head>
	<body class="easyui-layout">
		<div data-options="region:'north',border:false"
			style="padding: 8px; border-bottom: 1px solid #bbbbbb;">
			<form id="dom_var_search">
				<table style="width: 100%;">
					<tr>
						<td>
							<span style="width: 200px; white-space: nowrap;"> 类型: <select
									name="TYPE:=">
									<option value="">
										~全部~
									</option>
									<option value="1">
										图片
									</option>
									<option value="2">
										资源
									</option>
									<option value="3">
										压缩
									</option>
									<option value="0">
										其他
									</option>
								</select> </span>
							<span style="width: 200px; white-space: nowrap;"> 显示名称: <input
									name="NAME:like" type="text"> </span>
							<span style="width: 200px; white-space: nowrap;"> 扩展名: <input
									name="EXNAME:like" type="text"> </span>
							<span style="width: 200px; white-space: nowrap;"> 文件名: <input
									name="FILENAME:like" type="text"> </span>
							<span style="width: 200px; white-space: nowrap;"> 状态: <select
									name="PSTATE:=">
									<option value="">
										~全部~
									</option>
									<option value="1">
										使用
									</option>
									<option value="0">
										临时
									</option>
								</select>
							</span>
						</td>
						<td width="200">
							<a id="a_var_search" class="easyui-linkbutton"
								data-options="iconCls:'icon-search'">查询</a>
							<a id="a_var_reset" class="easyui-linkbutton"
								data-options="iconCls:'icon-reload'">清除条件</a>
						</td>
					</tr>
				</table>
			</form>
		</div>
		<div data-options="region:'center',title:'文件列表',border:false"
			style="padding: 1px; background: #eee;">
			<table id="dom_var_grid">
				<thead>
					<tr>
						<th data-options="field:'ck',checkbox:true"></th>
						<th field="NAME" data-options="sortable:true" width="160">
							显示名称
						</th>
						<th field="TYPE" data-options="sortable:true" width="80">
							类型
						</th>
						<th field="EXNAME" data-options="sortable:true" width="80">
							扩展名
						</th>
						<th field="LEN" data-options="sortable:true" width="80">
							文件大小(b)
						</th>
						<th field="FILENAME" data-options="sortable:true" width="160">
							文件名
						</th>
						<th field="DIR" data-options="sortable:true" width="80">
							目录
						</th>
						<th field="PSTATE" data-options="sortable:true" width="80">
							状态
						</th>
					</tr>
				</thead>
			</table>
		</div>
		<div data-options="region:'south',border:false">
			<div id="dom_var_pagination" class="easyui-pagination"></div>
		</div>
		<!-- 弹出窗口 -->
		<div id="dom_var_window"></div>
		<!-- 表格右键菜单 -->
		<div id="dom_var_menu" class="easyui-menu" style="width: 120px;">
			<div name="view" data-options="iconCls:'icon-tip'">
				查看
			</div>
			<div class="menu-sep"></div>
			<div name="del" data-options="iconCls:'icon-remove'">
				删除
			</div>
		</div>
	</body>
	<script type="text/javascript">
	var url_delAction = "admin/FarmDocfiledeleteCommit.do";
	var url_formAction = "admin/FarmDocfileshow.do";
	var url_searchAction = "admin/FarmDocfilequeryAll.do";
	var title_window = "文件";
	var DOM_GRID_TABLE = '#dom_var_grid';
	var DOM_PAGINATION_DIV = '#dom_var_pagination';
	var DOM_MENU_DIV = '#dom_var_menu';
	var DOM_WINDOW_DIV = '#dom_var_window';
	var DOM_SEARCH_FORM = '#dom_var_search';
	var LINK_SEARCH = '#a_var_search';
	var LINK_RESET = '#a_var_reset';
	var TOOL_BAR = [ {
		id : 'del',
		text : '删除',
		iconCls : 'icon-remove',
		handler : function() {
			shortMenuOpen_grid(null, {
				name : 'del'
			})
		}
	} ];
	$(function() {
		initLayout();
	});
</script>
</html>




